package com.nwpu.server.authserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nwpu.server.authserver.entity.UserTokenEntity;
import com.nwpu.server.common.response.PageUtils;
import com.nwpu.server.common.response.R;

import java.util.Map;

public interface UserTokenService extends IService<UserTokenEntity> {

    PageUtils queryPage(Map<String, Object> params);
    R createToken(Long userId, String username, String password);
    void logout(long userId);
}
